﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="MemberManage3G.aspx.cs" Inherits="Business_Cisoft3G_MemberManage3G_MemberManage3G" %>

<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ajaxToolkit" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>会员信息管理</title>
    <link href="../../../css/style.css" rel="stylesheet" type="text/css" />
    <link href="../../../css/font.css" rel="stylesheet" type="text/css" />
    <link href="../../../css/style_ts.css" rel="stylesheet" type="text/css" />
    <asp:Literal ID="ltScript" runat="server"></asp:Literal>

    <script type="text/javascript" src="../../../js/jquery-1.4.2.min.js"></script>

    <script type="text/javascript" src="../../../js/jquery.blockUI.js"></script>

    <script type="text/javascript" src="../../../js/CheckForm.js"></script>

    <script type="text/javascript">
        $(function() {
        $('#btnCancel2').click(function() {
                $('#btnCloseAll3').click();
            });
        });
    </script>

    <style type="text/css">
        .modalBackground
        {
            background-color: Gray;
            filter: alpha(opacity=70);
            opacity: 0.7;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server" onsubmit=" return CheckForm()">
    <div class="position_list">
        <div class="position_left_list">
        </div>
        <div class="position_con_list">
            <table border="0" cellpadding="0" cellspacing="0">
                <tr>
                    <td width="30">
                        <img src="../../../Images/3G/icon21.gif" width="14" height="14" alt="" />
                    </td>
                    <td class="cyan12">
                        会员信息管理
                    </td>
                </tr>
            </table>
        </div>
        <div class="position_right_list">
        </div>
    </div>
    <!--[if !IE]>搜素区域开始<![endif]-->
    <div class="search_list">
        <div class="search_top_list">
            <div class="search_topleft_list">
            </div>
            <!--  查询     -->
            <div class="search_topbg_list">
                <table border="0" cellpadding="0" cellspacing="0">
                    <tr>
                        <td width="30" align="left" valign="middle" style="padding-top: 4px;">
                            <img src="../../../Images/3G/icon_logo.gif" width="22" height="22" />
                        </td>
                        <td width="100" class="cyan13_bold" style="padding-top: 5px;">
                            系统温馨提示栏
                        </td>
                        <td style="padding-top: 5px;">
                        </td>
                    </tr>
                </table>
            </div>
            <div class="search_topright_list">
            </div>
        </div>
        <!--   列表     -->
        <div class="index_search_con_list">
            <table border="0" cellpadding="0" cellspacing="0" style="padding-left: 10px">
                <tr>
                    <td>
                        <span style="color: #ffffff;">搜索：</span>
                        <input type="text" runat="server" id="txtCondition" style="height: 14px; width: 100px;
                            border: 1px solid #ffffff;" />
                        <asp:DropDownList ID="ddlSearchCondition" runat="server">
                            <asp:ListItem Value="US_UserName" Text="账号"></asp:ListItem>
                            <asp:ListItem Value="CT_Name" Text="真实姓名"></asp:ListItem>
                            <asp:ListItem Value="CT_Mobile" Text="手机号码"></asp:ListItem>
                        </asp:DropDownList>
                        <asp:Button ID="btnSearch" runat="server" Text="" OnClick="btnSearch_Click" />
                        <asp:Button ID="btnDelete" runat="server" Text="" OnClick="LinkButton2_Click" Visible="false"
                            OnClientClick="if(CheckCheckBoxIsChecked(this)){document.getElementById('hihDelete').value = 'true';}else{document.getElementById('hihDelete').value = 'false';}" />
                        <br />
                        <br />
                    </td>
                </tr>
            </table>
            <table width="100%" border="0" cellspacing="1" cellpadding="0" bgcolor="73798f" id="tableList">
                <tr class="cyan12" bgcolor="#1E3541">
                    <td width="25" height="20" valign="middle" style="text-align: center">
                        <asp:CheckBox ID="chcAll" runat="server" />
                    </td>
                    <td width="150" align="center" valign="middle">
                        用户账号
                    </td>
                    <td width="80" align="center" valign="middle">
                        真实姓名
                    </td>
                    <td align="center" valign="middle" style="width: 100px">
                        手机号码
                    </td>
                    <td align="center" valign="middle">
                        注册时间
                    </td>
                    <td width="140" align="center" valign="middle">
                        用户角色
                    </td>
                    <td align="center" valign="middle">
                        操作
                    </td>
                </tr>
                <asp:Repeater ID="Repeater1" runat="server" OnItemCommand="Repeater1_ItemCommand"
                    OnItemDataBound="Repeater1_ItemDataBound">
                    <ItemTemplate>
                        <tr bgcolor="#1E3541" onmousemove="this.className='li_td_mouseover'" onmouseout="this.className='li_td_mouseout'">
                            <td height="20" align="center" valign="middle">
                                <asp:CheckBox ID="cbk_single" runat="server" name="cb1" />
                            </td>
                            <td align="center" valign="middle">
                                <asp:Label ID="lblUserName" runat="server" Text='<%#DataBinder.Eval(Container.DataItem, "US_UserName")%>'></asp:Label>
                            </td>
                            <td width="80" align="center" valign="middle">
                                <asp:Label ID="lblSmsType" runat="server" Text='<%#DataBinder.Eval(Container.DataItem, "CT_Name")%>'></asp:Label>
                            </td>
                            <td align="left" valign="middle" class="td_li">
                                <asp:Label ID="lblSmsContent" runat="server" Text='<%#DataBinder.Eval(Container.DataItem, "CT_Mobile")%>'></asp:Label>
                            </td>
                            <td align="center" valign="middle" class="td_li">
                                <asp:Label ID="lblApplyDate" runat="server" Text='<%#DataBinder.Eval(Container.DataItem, "US_ApplyDate")%>'></asp:Label>
                            </td>
                            <td align="center" valign="middle">
                                <asp:Label ID="lblrole" runat="server" Text='<%#DataBinder.Eval(Container.DataItem, "US_Role_Rid")%>'></asp:Label>
                            </td>
                            <td width="120" align="center" valign="middle">
                                <asp:LinkButton ID="lbtnUpper" class="yellow12_link" runat="server" CommandName="Upper"
                                    CommandArgument='<%# Eval("CT_ContactID")%>' Text='提升为管理员' CausesValidation="false"></asp:LinkButton>
                                <asp:LinkButton ID="lblDetails" class="yellow12_link" runat="server" CommandName="Details"
                                    CommandArgument='<%# Eval("CT_Mobile")%>' Text='查看' CausesValidation="false"></asp:LinkButton>
                            </td>
                        </tr>
                    </ItemTemplate>
                    <FooterTemplate>
                        <tr>
                            <td colspan="6">
                                <asp:Label ID="lblEmpty" Text="对不起，未查询到记录。" ForeColor="Red" runat="server" Visible='<%#Repeater1.Items.Count <= 0%>'></asp:Label>
                            </td>
                        </tr>
                    </FooterTemplate>
                </asp:Repeater>
            </table>
            <table width="100%" border="0" cellpadding="0" cellspacing="0">
                <tr>
                    <td>
                        <webdiyer:AspNetPager ID="AspNetPager1" runat="server" Width="100%" UrlPaging="false"
                            AlwaysShow="true" CustomInfoHTML="<span style:'height:18px;'></span><br/>共%PageCount%页 %RecordCount%条记录"
                            ShowCustomInfoSection="Left" FirstPageText="首页" PrevPageText="前一页" NextPageText="下一页"
                            LastPageText="末页" PageIndexBoxType="TextBox" ShowPageIndexBox="Always" TextBeforePageIndexBox="跳转到: "
                            SubmitButtonText="" SubmitButtonStyle="width:30px;height:21px;vertical-align:bottom;border:0px;background:url(../../../Images/3G/GO.gif) no-repeat;"
                            HorizontalAlign="right" PageSize="12" OnPageChanged="AspNetPager1_PageChanged"
                            EnableTheming="true">
                        </webdiyer:AspNetPager>
                    </td>
                </tr>
            </table>
        </div>
    </div>
    <div class="search_bottom_list">
        <div class="search_bottomleft_list">
        </div>
        <div class="search_bottombg_list">
        </div>
        <div class="search_bottomright_list">
        </div>
    </div>
    <!--详细信息-->
    <asp:ScriptManager ID="Scriptmanager1" runat="server" EnableScriptGlobalization="true"
        EnableScriptLocalization="true">
    </asp:ScriptManager>
    <ajaxToolkit:ModalPopupExtender ID="ModalPopupExtender3" runat="server" TargetControlID="LinkButton1"
        PopupControlID="appease_Panel1" BackgroundCssClass="modalBackground" OnOkScript="onOk()"
        DropShadow="true" PopupDragHandleControlID="appease_Panel2" CancelControlID="btnCloseAll">
    </ajaxToolkit:ModalPopupExtender>
    <asp:Panel ID="appease_Panel1" runat="server" Style="display: none; width: 550px;
        vertical-align: middle;">
        <div class="attention">
            <asp:Panel ID="appease_Panel2" runat="server" Style="vertical-align: middle;">
                <div class="attention_top">
                    <div class="attention_topleft">
                    </div>
                    <div class="attention_topmid">
                        <table width="98%" border="0" cellpadding="0" cellspacing="0">
                            <tr>
                                <td align="left" valign="middle" class="title">
                                    用户详细信息
                                </td>
                                <td align="right" valign="middle" width="30">
                                    <asp:Button ID="btnCloseAll" runat="server" Text="" />
                                </td>
                            </tr>
                        </table>
                    </div>
                    <div class="attention_topright">
                    </div>
                </div>
            </asp:Panel>
            <div class="attention_con">
                <asp:Panel ID="appease_Panel3" runat="server">
                    <table border="1" cellpadding="5" cellspacing="1" bordercolor="#0e62a7" style="width: 100%;
                        text-align: center; border-collapse: collapse;">
                        <tr>
                            <td align="right" style="width: 100px;">
                                用户账号：
                            </td>
                            <td style="text-align: left">
                                <asp:Label ID="lblUserName" runat="server" Text=""></asp:Label>
                            </td>
                        </tr>
                        <tr>
                            <td align="right" style="width: 100px;">
                                用户角色：
                            </td>
                            <td style="text-align: left">
                                <asp:Label ID="lblUserRole" runat="server" Text=""></asp:Label>
                            </td>
                        </tr>
                        <tr>
                            <td align="right">
                                真实姓名：
                            </td>
                            <td style="width: 350px; text-align: left">
                                <asp:Label ID="lblName" runat="server" Text=""></asp:Label>
                            </td>
                        </tr>
                        <tr>
                            <td align="right">
                                电话：
                            </td>
                            <td style="width: 350px; text-align: left">
                                <asp:Label ID="lblPhone" runat="server" Text=""></asp:Label>
                            </td>
                        </tr>
                        <tr>
                            <td align="right">
                                手机号码：
                            </td>
                            <td style="width: 350px; text-align: left">
                                <asp:Label ID="lblMobile" runat="server" Text=""></asp:Label>
                            </td>
                        </tr>
                        <tr>
                            <td align="right">
                                电子邮箱：
                            </td>
                            <td style="width: 350px; text-align: left">
                                <asp:Label ID="lblEmail" runat="server" Text=""></asp:Label>
                            </td>
                        </tr>
                        <tr>
                            <td align="right">
                                QQ号码：
                            </td>
                            <td style="width: 350px; text-align: left">
                                <asp:Label ID="lblQQ" runat="server" Text=""></asp:Label>
                            </td>
                        </tr>
                        <tr>
                            <td align="right">
                                地址：
                            </td>
                            <td style="width: 350px; text-align: left">
                                <asp:Label ID="lblAddress" runat="server" Text=""></asp:Label>
                            </td>
                        </tr>
                        <tr>
                            <td align="right">
                                邮编：
                            </td>
                            <td style="width: 350px; text-align: left">
                                <asp:Label ID="lblPostCode" runat="server" Text=""></asp:Label>
                            </td>
                        </tr>
                        <tr>
                            <td align="right">
                                单位：
                            </td>
                            <td style="width: 350px; text-align: left">
                                <asp:Label ID="lblCompany" runat="server" Text=""></asp:Label>
                            </td>
                        </tr>
                        <tr>
                            <td align="right">
                                单位地址：
                            </td>
                            <td style="width: 350px; text-align: left">
                                <asp:Label ID="lblCompanyAddress" runat="server" Text=""></asp:Label>
                            </td>
                        </tr>
                        <tr>
                            <td align="right">
                                部门：
                            </td>
                            <td style="width: 350px; text-align: left">
                                <asp:Label ID="lblDepartment" runat="server" Text=""></asp:Label>
                            </td>
                        </tr>
                        <tr>
                            <td align="right">
                                职务：
                            </td>
                            <td style="width: 350px; text-align: left">
                                <asp:Label ID="lblDuty" runat="server" Text=""></asp:Label>
                            </td>
                        </tr>
                        <tr>
                            <td align="right">
                                隶属通讯组：
                            </td>
                            <td style="width: 350px; text-align: left">
                                <asp:Label ID="lblContactGroup" runat="server" Text=""></asp:Label>
                            </td>
                        </tr>
                    </table>
                </asp:Panel>
            </div>
        </div>
    </asp:Panel>
    <ajaxToolkit:ModalPopupExtender ID="ModalPopupExtender1" runat="server" TargetControlID="LinkButton2"
        PopupControlID="Panel1" BackgroundCssClass="modalBackground" OnOkScript="onOk()"
        DropShadow="false" PopupDragHandleControlID="Panel2" CancelControlID="btnCloseAll2">
    </ajaxToolkit:ModalPopupExtender>
    <asp:Panel ID="Panel1" runat="server" Style="display: none; width: 26%; vertical-align: middle;">
        <div class="attention_delete">
            <asp:Panel ID="Panel2" runat="server" Style="vertical-align: middle;">
                <div class="attention_top">
                    <div class="attention_topleft">
                    </div>
                    <div class="attention_topmid_delete">
                        <table width="98%" border="0" cellpadding="0" cellspacing="0">
                            <tr>
                                <td align="left" valign="middle" class="title">
                                    提示信息
                                </td>
                                <td align="right" valign="middle" width="30">
                                    <asp:Button ID="btnCloseAll2" runat="server" Text="" />
                                </td>
                            </tr>
                        </table>
                    </div>
                    <div class="attention_topright">
                    </div>
                </div>
            </asp:Panel>
            <div class="attention_con">
                <asp:Panel ID="Panel3" runat="server">
                    <table border="1" runat="server" id="table2" cellpadding="5" cellspacing="0" bordercolor="#0e62a7"
                        style="width: 100%; text-align: center; border-collapse: collapse;">
                        <tr>
                            <td style="text-align: Center">
                                <asp:Label ID="lblTS" runat="server" Text=""></asp:Label>
                            </td>
                        </tr>
                        <tr>
                            <td align="center" class="navi_link">
                                <asp:Button ID="btnConfirm2" runat="server" ToolTip="确定" OnClick="btnConfirm2_Click" />
                                <asp:Button ID="btnCancel" runat="server" Visible="false" />
                            </td>
                        </tr>
                    </table>
                </asp:Panel>
            </div>
        </div>
    </asp:Panel>
    <ajaxToolkit:ModalPopupExtender ID="ModalPopupExtender2" runat="server" TargetControlID="LinkButton3"
        PopupControlID="P1" BackgroundCssClass="modalBackground" OnOkScript="onOk()"
        DropShadow="false" PopupDragHandleControlID="P2" CancelControlID="btnCloseAll3">
    </ajaxToolkit:ModalPopupExtender>
    <asp:Panel ID="P1" runat="server" Style="display: none; width: 26%; vertical-align: middle;">
        <div class="attention_delete">
            <asp:Panel ID="P2" runat="server" Style="vertical-align: middle;">
                <div class="attention_top">
                    <div class="attention_topleft">
                    </div>
                    <div class="attention_topmid_delete">
                        <table width="98%" border="0" cellpadding="0" cellspacing="0">
                            <tr>
                                <td align="left" valign="middle" class="title">
                                    提示信息
                                </td>
                                <td align="right" valign="middle" width="30">
                                    <asp:Button ID="btnCloseAll3" runat="server" Text="" />
                                </td>
                            </tr>
                        </table>
                    </div>
                    <div class="attention_topright">
                    </div>
                </div>
            </asp:Panel>
            <div class="attention_con">
                <asp:Panel ID="P3" runat="server">
                    <table border="1" runat="server" id="table1" cellpadding="5" cellspacing="0" bordercolor="#0e62a7"
                        style="width: 100%; text-align: center; border-collapse: collapse;">
                        <tr>
                            <td style="text-align: Center">
                                <asp:Label ID="lblUpperTS" runat="server" Text=""></asp:Label>
                            </td>
                        </tr>
                        <tr>
                            <td align="center" class="navi_link">
                                <asp:Button ID="btnConfirm3" runat="server" ToolTip="确定" OnClick="btnConfirm3_Click"/>
                                <%--<asp:Button ID="btnCancel2" runat="server" />--%>
                                <input type="button" id="btnCancel2" runat="server"/>
                            </td>
                        </tr>
                    </table>
                </asp:Panel>
            </div>
        </div>
    </asp:Panel>
    <input type="hidden" value="" runat="server" id="hihDelete" />
    <asp:LinkButton ID="LinkButton1" runat="server" Visible="true" OnClick="LinkButton1_Click"></asp:LinkButton>
    <asp:LinkButton ID="LinkButton2" runat="server" Visible="true" OnClick="LinkButton2_Click"></asp:LinkButton>
    <asp:LinkButton ID="LinkButton3" runat="server" Visible="true" OnClick="LinkButton3_Click"></asp:LinkButton>
    </form>
</body>
</html>
